export default class ServerConstants {
  /*定义存储的key值*/
  static USER_INFO = 'user_info'

  static CART_INFO = 'cart_info'

  static SYSTEM_INFO = 'system_info'

  static USER_INFO_REFRESH = 'userInfo'

  static CART_INFO_REFRESH = 'cartInfo'

  static HAS_LOGIN = 'hasLogin'

  static SYSTEM_REFRESH = 'system_refresh'

  static ORDER_COUNT = 'order_count'

  static ORDER_TIME = 'order_time'
  /*蓝牙打印机*/
  static PRINT_LIST = 'print_list'
  /*默认打印机*/
  static DEFAULT_PRINT = 'default_print'

  /*发送短信*/
  static REQ_SEND_MSG = '/User/send_validate_code'

  /*获取服务器时间*/
  static REQ_GET_SERVER_TIME = '/Public/getServerTime'

  /*注册*/
  static REQ_USER_REGESIT = '/User/reg'
  /*获取首页信息*/
  static REQ_GET_INDEX = '/Index/Home'
  /*获取验证码*/
  static REQ_GET_VERIFY = '/User/verify'
  /*获取用户新*/
  static REQ_GET_USERINFO = '/User/getUserInfo'

  /*店铺登录*/
  static REQ_POST_SHOP_LOGIN = '/User/shoplogin'

  /*修改密码*/
  static REQ_USER_CHANGE_PASSWROD = '/User/password'

  /*店铺订单数量*/
  static REQ_USER_GET_ORDER_COUNT = '/User/getOrderCount'

  /*配送订单*/
  static REQ_USER_SEND_ORDER_SUCCESS = '/User/sendorder'

  /*拒绝订单*/
  static REQ_USER_REFUSED_ORDER_SUCCESS = '/User/refusedorder'
  /*获取新的订单*/
  static REQ_USER_GET_ORDER_NEW = '/User/ajaxcheckshoporder'
  /*设置*/
  static REQ_USER_SHOP_SET_OPEN = '/User/setOpen'

  /*获取金额*/
  static REQ_USER_GET_BANNANCE = '/User/getBannance'
  /*获取banner*/
  static REQ_GET_BANNER = '/Index/getbanner'

  /*获取分类*/
  static REQ_GET_CATAGORY_HOME = '/Index/getCatagory'
  /*获取首页数据*/
  static REQ_GET_GOODS_INDEX = '/Index/homePage'

  /*获取分页数据*/
  static REQ_GET_GOODS_CATAGORY_LIST = '/Goods/goodsCategoryList'

  /*获取商品列表*/
  static REQ_GET_GOODS_LIST = '/Goods/goodsList'

  /*获取推荐商品*/
  static REQ_GET_GOODS_LIST_RECOMAND = '/Goods/getHighQualityGoods'

  /*获取最新商品*/
  static REQ_GET_GOODS_LIST_NEW = '/Goods/getNewGoods'

  /*搜索最新商品*/
  static REQ_GET_GOODS_LIST_SEARCH = '/Goods/search'

  /*获取商品列表*/
  static REQ_GET_GOODS_INFO = '/Goods/goodsInfo'

  /*发送验证码*/
  static REQ_SEND_VALIDATE_CODE = '/User/send_validate_code'

  static REQ_USER_LOGIN = '/User/login'

  static REQ_USER_LOGIN_OAUTH = '/User/oauth'

  /*保存购物车*/
  static REQ_CART_SAVE = '/Cart/saveCart'

  /*获取购物车*/
  static REQ_CART_GET = '/Cart/getCart'

  /*删除购物车*/
  static REQ_CART_DEL = '/Cart/delCart'

  /*删除购物车指定商品*/
  static REQ_CART_DEL_INDEX = '/Cart/delCartIndex'

  /*获取地址列表*/
  static REQ_USER_GET_ADDRESS = '/User/getAddressList'

  /*增加地址列表*/
  static REQ_USER_ADD_ADDRESS = '/User/addAddress'

  /*删除地址列表*/
  static REQ_USER_DEL_ADDRESS = '/User/del_address'

  /*设置默认地址*/
  static REQ_USER_DEFAULT_ADDRESS = '/User/setDefaultAddress'

  static REQ_USER_ADD_ORDER = '/Cart/addOrder'

  static REQ_USER_GET_ORDER_LIST = '/User/getOrderList'

  /*订单详情*/
  static REQ_USER_GET_ORDER_DETAIL = '/User/getOrderDetail'

  /*获取支付方式*/
  static REQ_USER_GET_PAY_ORDER = '/WebPay/getPayCode'

  /*获取微信支付*/
  static REQ_USER_GET_WX_PAY = '/Pay/wxpay'


  /*取消订单*/
  static REQ_USER_CANCEL_ORDEL = '/User/cancelOrder'

  /*取消订单*/
  static REQ_USER_DEL_ORDEL = '/User/delOrder'


  /*code转openid*/
  static REQ_USER_CODE_TO_OPENID = '/Public/code2openId'

  /*充值*/
  static REQ_USER_WET_PAY_ORDER = '/WebPay/createOrder'

}
